package com.kuangshenJVM.chapter14;
@SuppressWarnings("all")
public class Hello {
    public static void main(String[] args) {
        ClassLoader classLoader = Hello.class.getClassLoader();
        ClassLoader parent = classLoader.getParent();
        ClassLoader grandfather = parent.getParent();
        System.out.println("加载器" + classLoader);
        System.out.println("父加载器" + parent);
        System.out.println("爷爷加载器" + grandfather);
        ClassLoader parent1 = grandfather.getParent();
        System.out.println("太爷爷加载器" + parent1);
    }
}


